package com.neuedu.helloworld;

import org.jshand.config.AppConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;


@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
//@Import(value = AppConfig.class)
//@Configuration
//@SpringBootApplication(scanBasePackages="org.jshand")
//@ComponentScan(value="com.neuedu.helloworld")
public class App {

    public static void main(String[] args) {
//        new SpringApplication(App.class).run(args);
        SpringApplication.run(App.class ,args);
    }

    @Bean
    public String myAppName(){
        return "Boot2.5.14";
    }
}
